package basic

import (
	"strconv"
)

func Bin(a int) string  {
	str := ""

	for ; a > 0; a /= 2{
		str = strconv.Itoa(a%2) + str
	}

	return str
}
